//
//  speech.h
//  dsBridge
//
//  Created by sxh on 2020/9/18.
//

#import <Foundation/Foundation.h>
typedef void(^JSCallBack)(id _Nullable result, BOOL complete);

NS_ASSUME_NONNULL_BEGIN

@interface speech : NSObject

/**
    options obj = {
        timeout: 1000ms
    }
 */
 - (void)startRecognize:(id)obj :(JSCallBack)completeHandle;
 - (void)stopRecognize:(id)obj :(JSCallBack)completeHandle;

@end

NS_ASSUME_NONNULL_END
